<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>星启天产品区服信息管理</title>
    <link rel="icon" href="favicon.ico" type="image/x-icon"/>
<#include "../template/include/assign.ftl">
<#include "../template/include/source.ftl">
<#include "../template/template_listPage.ftl">
    <link href="${web_static}/admin/css/list.css" rel="stylesheet" type="text/css"/>
    <style type="text/css">
        .page {
            float: right;
            padding-top: 15px;
            margin-right: 15px;
        }
    </style>

    <script type="text/javascript">

        $('#searchButton').click(
                function () {
                    $('#currentPage_listForm').val('1');
                }
        );

        <#if actionErrors?? && (actionErrors?size > 0)>
        $.dialog({type:"warn", content:"<#list errorMessages as list>${list}<br></#list>",
            modal:true, autoCloseTime:3000});
        </#if>


    </script>
</head>
<body class="list">
<div class="body">
    <div class="listBar">
        <h1><span class="icon">&nbsp;</span>星启天产品区服信息管理&nbsp;<span class="pageInfo"></span></h1>
    </div>
<@pageList page=(page!) id="listForm" action="${web_base}/game/xqt!asList.htm" query="areaServerQuery" isEmpty=true>
    <div class="operateBar">

        <label>查找：</label>
        大区名称：<input type="text" name="areaServerQuery.areaName"
                    value="<#if areaServerQuery??>${(areaServerQuery.areaName)!}</#if>"/>
        大区编号：<input type="text" name="areaServerQuery.areaId"
                    value="<#if areaServerQuery??>${(areaServerQuery.areaId)!}</#if>"/>
        小服名称：<input type="text" name="areaServerQuery.srvName"
                    value="<#if areaServerQuery??>${(areaServerQuery.srvName)!}</#if>"/>
        小服编号：<input type="text" name="areaServerQuery.srvId"
                    value="<#if areaServerQuery??>${(areaServerQuery.srvId)!}</#if>"/>
        <input type="submit" class="searchButton" value=""/>
    </div>
    <table class="listTable">
        <tr>
            <th>
                <span class="sort" name="gametype1">游戏文件对应编号</span>
            </th>
            <th>
                <span class="sort" name="areaName">大区名称</span>
            </th>
            <th>
                <span class="sort" name="areaId">大区编号</span>
            </th>
            <th>
                <span class="sort" name="srvName">小服名称</span>
            </th>
            <th>
                <span class="sort" name="srvId">小服编号</span>
            </th>
            <th>
                <span class="sort" name="insertTime">录入时间</span>
            </th>
            <th width="80">操&nbsp;作</th>
        </tr>

        <#if page?? && page.list?? && (page.list?size gt 0)>
            <#list page.list as obj>
                <tr>
                    <td>
                    ${(obj.gametype1)!}
                    </td>
                    <td>
                        <#if obj.areaName?? && obj.areaName?length gt 30>
                        <#--//截取输出文字的长度-->
                        ${obj.areaName?substring(0,30)}...
                        <#else>
                        ${(obj.areaName)!}
                        </#if>
                    </td>
                    <td>
                    ${(obj.areaId)!}
                    </td>

                    <td>
                        <#if obj.srvName?? && obj.srvName?length gt 30>
                        <#--//截取输出文字的长度-->
                        ${obj.srvName?substring(0,30)}...
                        <#else>
                        ${(obj.srvName)!}
                        </#if>
                    </td>
                    <td>
                    ${(obj.srvId)!}
                    </td>
                    <td>
                    ${(obj.insertTime)!}
                    </td>
                    <td width="80"><a href="${web_base}/game/xqt!asDetail.htm?id=${(obj.id)!}" title="详情">[详情]</a></td>
                </tr>
            </#list>
        </#if>
    </table>

    <#if page?? && page.list?? && (page.list?size <= 0)>
        <div class="noRecord">
            没有找到任何记录!
        </div>
    </#if>
</@pageList>
</div>

</body>
</html>